From: Florian Müllner Date: Fri, 25 Feb 2011 21:53:53 +0000 (+0100) Subject: search-result: Use a larger icon size X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8808 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=34ce17c4b372ba0149a79bbbd6d2d58bf16825ad;p=gnome-shell.git search-result: Use a larger icon size Increase the icon size of search results for consistency with the application view. To account for the larger icons, only display a single row of results per section. https://bugzilla.gnome.org/show_bug.cgi?id=643632 --- diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index c7d875a13..65312383f 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -534,22 +534,17 @@ StTooltip StLabel { .icon-grid { spacing: 36px; - -shell-grid-item-size: 70px; -} - -.all-app { - padding: 16px 25px 16px 16px; - spacing: 20px; -} - -.all-app .icon-grid { -shell-grid-item-size: 118px; } -.all-app .overview-icon { +.icon-grid .overview-icon { icon-size: 96px; } +.all-app { + padding: 16px 25px 16px 16px; + spacing: 20px; +} .app-filter { font-size: 14px; diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js index 485620c82..0527d8f83 100644 --- a/js/ui/searchDisplay.js +++ b/js/ui/searchDisplay.js @@ -13,7 +13,7 @@ const Main = imports.ui.main; const Overview = imports.ui.overview; const Search = imports.ui.search; -const MAX_SEARCH_RESULTS_ROWS = 2; +const MAX_SEARCH_RESULTS_ROWS = 1; function SearchResult(provider, metaInfo, terms) {